//
//  ScrollImageView.h
//  滚动视图封装
//
//  Created by dlios on 15/6/12.
//  Copyright (c) 2015年 SJF1992. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol Mydelegate <NSObject>

- (void)pushToNextControllerWithIDName:(NSString *)name;

@end


@interface ScrollImageView : UIView <UIScrollViewDelegate>

@property (nonatomic, retain) UIScrollView *myScroll;
@property (nonatomic, retain) NSMutableArray *imageArr;
@property (nonatomic, retain) UIImageView *myImageView;
@property (nonatomic, retain) UIPageControl *myPage;
@property (nonatomic, assign) id<Mydelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame withImageArray:(NSMutableArray *)array;





@end
